Skip to content

Conversation

@themathqueen
Copy link
Collaborator

@themathqueen themathqueen commented Oct 19, 2025

All results living in the unitary namespace is now in the Unitary namespace.

And the results unitary.spectrum.unitary_conjugate and unitary.spectrum.unitary_conjugate' are renamed to Unitary.spectrum_star_conjugate_left and Unitary.spectrum_star_conjugate_right to match the renaming convention in #30692.


Open in Gitpod

@github-actions github-actions bot added the t-algebra Algebra (groups, rings, fields, etc) label Oct 19, 2025
@github-actions
Copy link

github-actions bot commented Oct 19, 2025

PR summary b8aaf14a89

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ Unitary.argSelfAdjoint
+ Unitary.continuousOn_argSelfAdjoint
+ Unitary.expUnitary_eq_mul_inv
+ Unitary.instLocPathConnectedSpace
+ Unitary.inv_mem
+ Unitary.inv_mem_iff
+ Unitary.isPathConnected_ball
+ Unitary.joined
+ Unitary.mem_pathComponentOne_iff
+ Unitary.norm_argSelfAdjoint
+ Unitary.norm_argSelfAdjoint_le_pi
+ Unitary.norm_expUnitary_smul_argSelfAdjoint_sub_one_le
+ Unitary.norm_sub_eq
+ Unitary.norm_sub_one_lt_two_iff
+ Unitary.norm_sub_one_sq_eq
+ Unitary.openPartialHomeomorph
+ Unitary.path
+ Unitary.spectrum_subset_circle
+ Unitary.spectrum_subset_slitPlane_iff_norm_lt_two
+ Unitary.two_mul_one_sub_cos_norm_argSelfAdjoint
+ Unitary.two_mul_one_sub_le_norm_sub_one_sq
+ coe_div
+ coe_inv
+ coe_map
+ coe_map_star
+ coe_mul_star_self
+ coe_neg
+ coe_smul
+ coe_star
+ coe_star_mul_self
+ coe_zpow
+ inner_map_map
+ inv_mem
+ inv_mul_mem_iff
+ linearIsometryEquiv
+ linearIsometryEquiv_coe_apply
+ linearIsometryEquiv_coe_symm_apply
+ map
+ mapEquiv
+ mapEquiv_refl
+ mapEquiv_symm
+ mapEquiv_trans
+ map_comp
+ map_id
+ map_injective
+ map_mem
+ mem_iff
+ mem_iff_self_mul_star
+ mem_iff_star_mul_self
+ mul_inv_mem_iff
+ mul_left_inj
+ mul_right_inj
+ mul_star_self
+ mul_star_self_of_mem
+ norm_map
+ smul_mem
+ smul_mem_of_mem
+ spectrum_star_left_conjugate
+ spectrum_star_right_conjugate
+ star_eq_inv
+ star_eq_inv'
+ star_mem
+ star_mem_iff
+ star_mul_self
+ star_mul_self_of_mem
+ toMonoidHom_mapEquiv
+ toUnits
+ toUnits_comp_map
+ toUnits_injective
+ val_toUnits_apply
- unitary.instLocPathConnectedSpace
- unitary.inv_mem
- unitary.inv_mem_iff
- unitary.norm_expUnitary_smul_argSelfAdjoint_sub_one_le

You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>

The doc-module for script/declarations_diff.sh contains some details about this script.


No changes to technical debt.

You can run this locally as

./scripts/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

@themathqueen themathqueen added the easy < 20s of review time. See the lifecycle page for guidelines. label Oct 19, 2025
@themathqueen themathqueen changed the title chore(Algebra/Star/Unitary): fix lemma names chore(Algebra/Star/Unitary): rename unitary.spectrum.unitary_conjugate Oct 20, 2025
@riccardobrasca
Copy link
Member

Maybe it should be called unitary.spectrum_conjugate? And why the u is lowercase?!

@themathqueen
Copy link
Collaborator Author

Maybe it should be called unitary.spectrum_conjugate?

Sure, but how about unitary.spectrum_star_right_conjugate (and _left_ for the primed version)?

And why the u is lowercase?!

Not sure, I changed it now lol.

@jcommelin jcommelin removed the easy < 20s of review time. See the lifecycle page for guidelines. label Oct 28, 2025
@riccardobrasca
Copy link
Member

All results in this file about unitary matrices should just be in the Unitary namespace in my opinion.

@themathqueen
Copy link
Collaborator Author

themathqueen commented Oct 29, 2025

All results in this file about unitary matrices should just be in the Unitary namespace in my opinion.

I changed it so that they're in the unitary namespace like the rest of the file.

@themathqueen
Copy link
Collaborator Author

But about unitary vs Unitary, I think that's out of scope for this pr. That would be a much larger pr, I presume.

@riccardobrasca
Copy link
Member

Can you just try? Maybe it's enough to capitalize a u in this file and in a couple of open lines.

@themathqueen themathqueen changed the title chore(Algebra/Star/Unitary): rename unitary.spectrum.unitary_conjugate chore(Algebra/Star/Unitary): move results from unitary namespace to Unitary Oct 29, 2025
@themathqueen
Copy link
Collaborator Author

Alright, @riccardobrasca, done. See how big this pr is now 😭. But oh well, it didn't take nearly as long as I thought.

@themathqueen themathqueen changed the title chore(Algebra/Star/Unitary): move results from unitary namespace to Unitary chore: move results from unitary namespace to Unitary Oct 29, 2025
@riccardobrasca
Copy link
Member

LGTM, thanks a lot!

bors d+

@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Oct 29, 2025

✌️ themathqueen can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Oct 29, 2025
@themathqueen
Copy link
Collaborator Author

bors r+

mathlib-bors bot pushed a commit that referenced this pull request Oct 29, 2025
All results living in the `unitary` namespace is now in the `Unitary` namespace.

And the results `unitary.spectrum.unitary_conjugate` and `unitary.spectrum.unitary_conjugate'` are renamed to `Unitary.spectrum_star_conjugate_left` and `Unitary.spectrum_star_conjugate_right` to match the renaming convention in #30692.
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Oct 29, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore: move results from unitary namespace to Unitary [Merged by Bors] - chore: move results from unitary namespace to Unitary Oct 29, 2025
@mathlib-bors mathlib-bors bot closed this Oct 29, 2025
@themathqueen themathqueen deleted the chore_unitary_rename branch October 29, 2025 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). t-algebra Algebra (groups, rings, fields, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants